<% include "/WEB-INF/includes/cabeceira.gtpl" %>


<%  
   def id = request.getParameter("id")
   def concello = request.getAttribute('concello')
%>
<div id="content" class="group column span-16 colborder last">

<% include '../nomeConcello.groovy' %>


<div id="container">
<div id="container-inner">

<h1>modifica datos do concello [id=${id}]</h1>

<form id="formulario" method="POST" action="/admin/modificaConcello.groovy">
<input type="hidden" name="id" value="${id}" />       
<fieldset>
<p></p>


<div class="campo">
<label class="etiqueta" for="nome">Nome</label>
<input type="text" id="nome" name="nome" value="${concello?concello.nome:''}"/>
<span class="mensaje"></span>
</div>


<div class="campo">
<label class="etiqueta" for="items">N. items</label>
<input type="text" id="items" name="items" value="${concello?concello.numeroItems:''}" />
<span class="mensaje"></span>
</div>

<div class="campo">
<label class="etiqueta" for="borraritems">Borrar items</label>
<input type="checkbox" id="borraritems" name="borraritems" />
<span class="mensaje"></span>
</div>

<div class="campo">
<label class="etiqueta" for="paisanos">N. paisanos</label>
<input type="text" id="paisanos" name="paisanos" value="${concello?concello.numeroPaisanos:''}" />
<span class="mensaje"></span>
</div>


<div class="campo">
<label class="etiqueta" for="borrarpaisanos">Borrar paisanos</label>
<input type="checkbox" id="borrarpaisanos" name="borrarpaisanos" />
<span class="mensaje"></span>
</div>





  <div class="controls">
  
       
      <!--<a href="/" id="cancel" class="submit" name="cancel">Cancela</a>-->      
      <input id="submit" class="submit" name="submit" type="submit" 
          value="Modifica concello"/>
      
          
    </div>
    

</fieldset>

</form>
</div>
</div>






    

</div> <!-- /content -->    


<% include "/WEB-INF/includes/pe.gtpl" %>


<% include "/WEB-INF/includes/fin.gtpl" %>

